﻿<Window x:Class="Np.GalleryDownloader.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Gallery downloader" Height="480" Width="800" Drop="Window_Drop_1" Loaded="Window_Loaded_1">
    <Grid Margin="0,0,0,0">
        <Button x:Name="btDownload" Content="_Download" HorizontalAlignment="Right" Margin="424,280,10,10" VerticalAlignment="Bottom" Width="75" Click="BtDownload_Click"/>
        <TextBox x:Name="txLink" Height="23" Margin="125,70,128,0" VerticalAlignment="Top" GotFocus="TxLink_GotFocus" PreviewMouseUp="TxLink_PreviewMouseUp" TextChanged="txLink_TextChanged" />
        <Button x:Name="btClear" Content="_Clear" HorizontalAlignment="Right" Margin="0,0,90,10" VerticalAlignment="Bottom" Width="75" Click="btClear_Click" />
        <Label Content="Fetched pages" HorizontalAlignment="Left" Margin="12,149,0,0" VerticalAlignment="Top"/>
        <Label Content="Fetched images" HorizontalAlignment="Left" Margin="12,175,0,0" VerticalAlignment="Top"/>
        <Label Content="Downloaded images" HorizontalAlignment="Left" Margin="12,218,0,0" VerticalAlignment="Top"/>
        <Label Content="Downloaded data size" HorizontalAlignment="Left" Margin="12,244,0,0" VerticalAlignment="Top" Visibility="Hidden"/>
        <Label Content="Progress" HorizontalAlignment="Left" Margin="12,270,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lbFetchedImages" Content="0" HorizontalAlignment="Left" Margin="194,175,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lbFetchedPages" Content="0" HorizontalAlignment="Left" Margin="194,149,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lbDownloadedImages" Content="0" HorizontalAlignment="Left" Margin="194,218,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lbDownloadedData" Content="0" HorizontalAlignment="Left" Margin="194,244,0,0" VerticalAlignment="Top" Visibility="Hidden"/>
        <ProgressBar x:Name="pbDownloadProgress" Height="26" Margin="170,270,10,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txDownloadFolder" HorizontalAlignment="Left" Height="23" Margin="125,42,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="539" IsEnabled="False" />
        <Label Content="Download folder" HorizontalAlignment="Left" Margin="10,40,0,0" VerticalAlignment="Top" Width="107"/>
        <Button x:Name="btChooseDirectory" Content="_Select dir" Margin="680,40,10,0" VerticalAlignment="Top" Click="btChooseDirectory_Click"  />
        <Label Content="Paste a content" HorizontalAlignment="Left" Margin="10,67,0,0" VerticalAlignment="Top" Width="107"/>
        <TextBox x:Name="txFolderPage" Height="23" Margin="125,98,128,0" VerticalAlignment="Top" PreviewMouseUp="TxLink_PreviewMouseUp" TextChanged="txLink_TextChanged" Text="" />
        <Label Content="Paste a folder" HorizontalAlignment="Left" Margin="10,98,0,0" VerticalAlignment="Top" Width="107"/>
        <ListBox x:Name="lbStatus" HorizontalAlignment="Left" Height="103" Margin="10,301,0,0" VerticalAlignment="Top" Width="772" />
        <Button x:Name="btAddFolder" Content="_Add folder page" Margin="680,101,10,0" VerticalAlignment="Top" Click="btAddFolder_Click"  />

    </Grid>
</Window>
